using System;

namespace TTQT.TTQT_Code.Info
{
	/// <summary>
	/// Summary description for LogInfo.
	/// </summary>
	public class LogInfo
	{
		private string tableName="";
		private string tranStatus="";
		private DateTime timeLog;
		private string content="";
		private string tranCode="";
		private int createTimes=0;
		private int id=0;
		private string ip="";
		private string userName="";
		private string brn_code="";
		private string type="";

		public int CreateTimes
		{
			get { return createTimes; }
			set { createTimes = value; }
		}
		public string TableName
		{
			get { return tableName; }
			set { tableName = value; }
		}
		public LogInfo(string ip, string userName, string type,string content, string tranCode, string brn_code)
		{
			this.ip = ip;
			this.userName = userName;
			this.type = type;
			this.content = content;
			this.tranCode = tranCode;
			this.brn_code = brn_code;
		}
		public LogInfo(){}
		public int Id
		{
			get { return id; }
			set { id = value; }
		}

		public string TranStatus
		{
			get { return tranStatus; }
			set { tranStatus = value; }
		}

		public string Ip
		{
			get { return ip; }
			set { ip = value; }
		}
		public DateTime TimeLog
		{
			get { return timeLog; }
			set { timeLog = value; }
		}

		public string UserName
		{
			get { return userName; }
			set { userName = value; }
		}

		public string Type
		{
			get { return type; }
			set { type = value; }
		}

		public string Content
		{
			get { return content; }
			set { content = value; }
		}
		
		public string TranCode
		{
			get{ return tranCode; }
			set { tranCode = value;}
		}

		public string Brn_Code
		{
			get { return brn_code; }
			set { brn_code = value; }
		}
	}
}
